import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import ElementPlus from 'element-plus'
import store from './router';
import 'element-plus/dist/index.css'
import './assets/style/reset.css'
import pinia from './store' 
import router from './router'

import zhCn from "element-plus/es/locale/lang/zh-cn";

import './permission'


const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(ElementPlus)
app.use(store);
app.use(pinia);
app.use(router);

app.mount('#app');
